home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global n, test
- if rollOver(15) then
- set the visible of sprite 41 to 1
- else
- set the visible of sprite 41 to 0
- end if
- if rollOver(16) then
- set the visible of sprite 42 to 1
- else
- set the visible of sprite 42 to 0
- end if
- if rollOver(17) then
- puppetSprite(17, 1)
- if the castNum of sprite 17 = 21 then
- set the castNum of sprite 17 to 22
- else
- set the castNum of sprite 17 to 21
- end if
- else
- puppetSprite(17, 0)
- end if
- if rollOver(18) then
- puppetSprite(18, 1)
- if the castNum of sprite 18 = 23 then
- set the castNum of sprite 18 to 24
- else
- set the castNum of sprite 18 to 23
- end if
- else
- puppetSprite(18, 0)
- end if
- repeat with n = 23 down to 21
- if rollOver(n) then
- puppetSprite(n, 1)
- set the ink of sprite n to 4
- next repeat
- end if
- set the ink of sprite n to 8
- puppetSprite(n, 0)
- end repeat
- set test to 0
- repeat with n = 36 down to 35
- if the visible of sprite n = 1 then
- set test to test + 1
- end if
- end repeat
- if test > 0 then
- set the visible of sprite 41 to 0
- set the visible of sprite 42 to 0
- end if
- go(the frame)
- updateStage()
- end
-